Creation information for a sampler. More...
#include <kanzi/gfx/create_info.hpp>
Public Types | |
| using | HandleType |
| Sampler handle. | |
Public Attributes | |
| AddressMode | addressModeU |
| Defines the addressing mode for the U coordinate. | |
| AddressMode | addressModeV |
| Defines the addressing mode for the V coordinate. | |
| AddressMode | addressModeW |
| Defines the addressing mode for the W coordinate. | |
| ColorClearValue | borderColor |
| Defines the border color to use when one of the address modes is AddressMode::ClampBorder. | |
| ComparisonFunction | comparison |
| Defines the depth comparison function. | |
| bool | comparisonEnabled |
| Defines if the depth comparison function is enabled. | |
| FilterMode | magFilter |
| Defines the magnification filter. | |
| float | maxAnisotropy |
| Defines the maximum anisotropy. | |
| float | maxLod |
| Defines the max lod level. | |
| FilterMode | minFilter |
| Defines the minification filter. | |
| float | minLod |
| Defines the min lod level. | |
| float | mipLodBias |
| Defines the lod bias. | |
| MipMapMode | mipMapFilter |
| Defines the mipmap filter. | |
Public Attributes inherited from kanzi::gfx::BaseCreateInfo | |
| string_view | name |
| The name of the graphics object, useful for debugging. | |
Creation information for a sampler.
A sampler describes how a shader reads a pixel from an image.
| FilterMode kanzi::gfx::SamplerCreateInfo::minFilter |
Defines the minification filter.
| FilterMode kanzi::gfx::SamplerCreateInfo::magFilter |
Defines the magnification filter.
| MipMapMode kanzi::gfx::SamplerCreateInfo::mipMapFilter |
Defines the mipmap filter.
| AddressMode kanzi::gfx::SamplerCreateInfo::addressModeU |
Defines the addressing mode for the U coordinate.
| AddressMode kanzi::gfx::SamplerCreateInfo::addressModeV |
Defines the addressing mode for the V coordinate.
| AddressMode kanzi::gfx::SamplerCreateInfo::addressModeW |
Defines the addressing mode for the W coordinate.
| bool kanzi::gfx::SamplerCreateInfo::comparisonEnabled |
Defines if the depth comparison function is enabled.
| ComparisonFunction kanzi::gfx::SamplerCreateInfo::comparison |
Defines the depth comparison function.
| ColorClearValue kanzi::gfx::SamplerCreateInfo::borderColor |
Defines the border color to use when one of the address modes is AddressMode::ClampBorder.
| float kanzi::gfx::SamplerCreateInfo::maxAnisotropy |
Defines the maximum anisotropy.
| float kanzi::gfx::SamplerCreateInfo::mipLodBias |
Defines the lod bias.
| float kanzi::gfx::SamplerCreateInfo::minLod |
Defines the min lod level.
| float kanzi::gfx::SamplerCreateInfo::maxLod |
Defines the max lod level.